{extends file="./main.tpl"}
{block name=head}
{/block}
{block name=body}
<form name="driver" action="{$smarty.server.PHP_SELF}" method="post">
<table align="center" border="2" cellpadding="2" cellspacing="2" width="" >
<tr>
  <td align="center" class="table1" colspan="8"><b>Unloading Register (Without Bill Register)</b></td>
</tr>
<tr>
  <td class="table2"  align="right">Truck No. :</td>
  <td class="table2"  align="left">
  	<select name="truckNo" id="truckNo" required />
      <option value="">Select Truck No</option>
	    {html_options values=$truckDataArray.truckNo output=$truckDataArray.truckNo}
	  </select>
  </td>
  <td class="table2" align="right" colspan="">Loading Inv. No.:</td>
  <td class="table2" align="left"><input type="text" name="loadinginvno." ></td>
  <td class="table2"  align="right">From :</td>
  <td class="table2"  align="left"><input type="text" name="from"></td>
  <td class="table2" align="right" colspan="">To :</td>
  <td class="table2" align="left"><input type="text" name="to" ></td>
</tr>
<tr>
  <td class="table2"  align="right">Unloading Invoice No:</td>
  <td class="table2"><input type="text" name="unloadinginvoiceno" ></td>
   <td class="table2"  align="right" colspan="3">Inv.dt. (Nikadvaani dt):</td>
 <td class="table2" colspan="8">{html_select_date prefix="expDate" start_year ="-0" end_year="+2" field_order="DMY" month_format="%m" day_value_format="%02d"}</td>
</tr>
  <td class="table2" align="right" colspan="5">Unloading Invoice No :</td>
  <td class="table2" colspan="8">{html_select_date prefix="expDate" start_year ="-0" end_year="+2" field_order="DMY" month_format="%m" day_value_format="%02d"}</td></td> 
</tr>
<tr>
	<td class="table2"  align="center">LR no.</td>
	<td class="table2"  align="center">Weight</td>
	<td class="table2"  align="center">Desc.</td>
	<td class="table2"  align="center">To pay / Paid</td>
	<td class="table2"  align="center" colspan="">Remark</td>
	<td class="table2"  align="center" NOWRAP>Delivery Date</td>
	<td class="table2"  align="center" NOWRAP>Cash Meno No</td>
	<td class="table2"  align="center" NOWRAP>Grand Total</td>
</tr>
<tr>
	<td class="table2"  align="center"><input type="text" name="lrno" ></td>
	<td class="table2"  align="center"><input type="text" name="weight" ></td>
	<td class="table2"  align="center"><input type="text" name="desc" ></td>
	<td class="table2"  align="center"><input type="text" name="topaypaid" ></td>
	<td class="table2"  align="center" colspan=""><textarea id="" name="remark" ></textarea></td>
	<td class="table2"  align="center" NOWRAP>{html_select_date prefix="expDate" start_year ="-0" end_year="+2" field_order="DMY" month_format="%m" day_value_format="%02d"}</td>
	<td class="table2" align="center"><input type="text" name="Cash Meno No." ></td>
	<td class="table2" align="center"><input type="text" name="Grand Total." ></td>
	
</tr> <tr> <td class="table2"  align="center"><input type="text" name="lrno" 
></td> <td class="table2"  align="center"><input type="text" name="weight" 
></td> <td class="table2"  align="center"><input type="text" name="desc" ></td> 
<td class="table2"  align="center"><input type="text" name="topaypaid" ></td> 
<td class="table2"  align="center" colspan=""><textarea id="" name="remarkparty" 
></textarea></td> <td class="table2"  align="center" NOWRAP>{html_select_date 
prefix="expDate" start_year ="-0" end_year="+2" field_order="DMY" 
month_format="%m" day_value_format="%02d"}</td> <td class="table2" 
align="center"><input type="text" name="Cash Meno No." ></td> <td class="table2" 
align="center"><input type="text" name="Grand Total." >
  </td> 
</tr> 
<tr>
	 <td class="table1" align="center" colspan="8"><input type="submit" name="submit" 
value="Submit" class="button"></td> 
</tr> 
</table> 
</form> 
{/block}